FileAttributes
|
Description: |
baFileAttributes returns the attributes of a file. | ||||||||||||||||||||||||||||||
|
Platforms: |
Windows and Macintosh | ||||||||||||||||||||||||||||||
|
Usage: |
Result = baFileAttributes( FileName ) | ||||||||||||||||||||||||||||||
|
Arguments: |
String. |
||||||||||||||||||||||||||||||
|
Returns: |
String.
|
||||||||||||||||||||||||||||||
|
Examples: |
Director: Authorware: |
||||||||||||||||||||||||||||||
|
Notes: |
You can use the Director contains or Authorware Find function to test whether a particular attribute is set. eg. if Find( "r" , baFileAttributes( FileName ) ) <> 0 then -- file is read only if baFileAttributes( FileName ) contains "r" then -- file is read only |
||||||||||||||||||||||||||||||
|
See also: |
baSetFileAttributes |
||||||||||||||||||||||||||||||